package com.ssy.lingxi.member.merchant.model.vo.basic.request;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.PositiveOrZero;
import java.io.Serializable;

/**
 * 根据上级会员，查询城市列表接口参数VO
 * @author 万宁
 * @version 2.0.0
 * @date 2021-05-19
 */
public class UpperRelationIdAndAreaCodeVO implements Serializable {
    private static final long serialVersionUID = -7548345964658665149L;

    /**
     * 上级会员Id
     */
    @NotNull(message = "上级会员Id要大于等于0")
    @PositiveOrZero(message = "上级会员Id要大于等于0")
    private Long upperRelationId;

    /**
     * 省编码
     */
    @NotBlank(message = "省编码不能为空")
    private String provinceCode;

    public Long getUpperRelationId() {
        return upperRelationId;
    }

    public void setUpperRelationId(Long upperRelationId) {
        this.upperRelationId = upperRelationId;
    }

    public String getProvinceCode() {
        return provinceCode;
    }

    public void setProvinceCode(String provinceCode) {
        this.provinceCode = provinceCode;
    }
}
